package org.zk.service;


import com.github.pagehelper.PageInfo;
import org.zk.entity.Comment;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author Alicelonely
 * @since 2019-12-11
 */
public interface CommentService   {

    //课程详情页显示评价
    PageInfo getqueryCommentPage(Map<String,Object> map);

    //课程评价
    int addComm(Comment comment);

    //查看单个课程的评论数量
    int getCommentCount(Map<String,Object> map);
}
